<div>
    <div class="header">
    	<a href="#guidepage"class="btn btnleft">返回</a>
    	<h1>{{headerName}}</h1>
    	<a href="javascript:Global.dialer();" class="btn btnright">客服</a>
    </div>
	<div class="content nobottom" id="linkspage{{identify}}">
	</div>
	<script type="text/javascript">
	Global.loading();
	$.ajax({
		type: 'GET',
    	url: GLOBAL_CONTEXT_PATH + '/assistant/linkJsonkeys.html?_=' + new Date().getTime(),
    	dataType: 'json',
    	crossDomain: true,
    	processData: true,
    	success: function (data){
          	$('#linkspage{{identify}}').html(Global.loadFragment('linkspageitems', data));
          	PageTools.setGuidePageTableHeight();
    		Global.setItem('linkspage', data);
    		Global.loaded();
    	},
    	error:function(msg) {
    		//Global.longToast(msg);
    		var data = Global.getItem('linkspage');
    		if (data) {
              	$('#linkspage{{identify}}').html(Global.loadFragment('linkspageitems', data));
              	PageTools.setGuidePageTableHeight();
    		}
    		Global.loaded();
    	}
	});
	$('#linkspage{{identify}}').delegate('div.linkerouter a', 'click', function(e) {
		e.preventDefault();
		var $this = $(this);
		$.ajax({
			type: 'POST',
			url: GLOBAL_CONTEXT_PATH + '/assistant/dolink.html',
			data: 'linkno=' + $this.attr('linkno') + '&_=' + new Date().getTime(),
			divicon: $this.parent().find('div'),
			dataType: 'json',
			success: function(o) {
				if (o.UR == 'create') {
					this.divicon.removeClass('linkeradd').addClass('linkercorrect');
				} else if (o.UR == 'remove') {
					this.divicon.removeClass('linkercorrect').addClass('linkeradd');
				}
			},
			error: function(msg) {
				console.log(msg);
			}
		});
	});
	<{{!}}/script>
</div>